home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
304_01
/
matrix
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-02-12
|
284 b
|
15 lines
.sc #
.fi
An involved example of the use of printer controls
would be to create a 3 by 3 matrix:
.br
.sp 1
MATRIX = ^+^+^(|1#2#3|^)^-^-|4#5#6|^)^-^-|7#8#9|^+^+
.nf
which should produce (with a half-spacing) printer:
|1 2 3|
MATRIX = |4 5 6|
|7 8 9|